use [SystemConfig]
GO

/****** Object:  Table [dbo].[Soluation]    Script Date: 2014/8/27 15:12:43 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Soluation](
	[SoluationId] [uniqueidentifier] NOT NULL,
	[SoluationName] [nvarchar](300) NOT NULL,
	[SoluationSimple] [nvarchar](500) NOT NULL,
	[CreatTime] [datetime] NULL,
	[UpdateTime] [datetime] NULL,
	[Version] [int] NULL,
	[Enable] [bit] NULL,
	[AppId] [uniqueidentifier] NOT NULL
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[Soluation] ADD  CONSTRAINT [DF_Soluation_CreatTime]  DEFAULT (getdate()) FOR [CreatTime]
GO

ALTER TABLE [dbo].[Soluation] ADD  CONSTRAINT [DF_Soluation_UpdateTime]  DEFAULT (getdate()) FOR [UpdateTime]
GO

ALTER TABLE [dbo].[Soluation] ADD  CONSTRAINT [DF_Soluation_Version]  DEFAULT ((0)) FOR [Version]
GO

ALTER TABLE [dbo].[Soluation] ADD  CONSTRAINT [DF_Soluation_Enable]  DEFAULT ((0)) FOR [Enable]
GO


